import Vue from "vue";
import Vuex from "vuex";

//引入home模块
import home from "./modules/home"
//引入search模块
import search from "./modules/search"
//引入detail模块
import detail from "./modules/detial"
//引入user模块
import user from "./modules/user"

Vue.use(Vuex);

export default new Vuex.Store({
    modules:{
        home,
        search,
        detail,
        user
    }
})